<extend name="./base" />
<block name="body">
    <div class="container-fluid">
                <div class="pull-right" style="margin-top: 20px;">
                    <button type="submit" form="form-product" data-toggle="tooltip" title="保存" class="btn btn-primary"><i class="fa fa-save"></i></button>
                </div>
                <h1>修改密码</h1>
            </div>
    
      <div class="container-fluid">
          
          
             <?php if(!empty($error)){
             echo '<div class="alert alert-success"><i class="fa fa-exclamation-circle"></i> '.$error.'
                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                </div>';
             
             }
             
             ?>
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><i class="fa fa-pencil"></i> 修改密码</h3>
                </div>
                <div class="panel-body">
                    <form action="" method="post" id="form-product" class="form-horizontal">
                        <div class="tab-content">
                            <div class="tab-pane active" id="tab-general">
                                <div class="form-group required">
                                    <label class="col-sm-2 control-label" for="">原密码</label>
                                    <div class="col-sm-2">
                                        <input type="password" name="old_pass" value="" placeholder="原密码" id="input-password_old" class="form-control" />
                                    </div>
                                </div>

                                <div class="form-group required">
                                    <label class="col-sm-2 control-label" for="">新密码</label>
                                    <div class="col-sm-2">
                                        <input type="password" name="new_pass" value="" placeholder="新密码" id="input-password_new" class="form-control" />
                                    </div>
                                </div>

                                <div class="form-group required">
                                    <label class="col-sm-2 control-label" for="">确认密码</label>
                                    <div class="col-sm-2">
                                        <input type="password" name="confirm_pass" value="" placeholder="确认密码" id="input-password_confirm" class="form-control" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
      
  
</block>